package com.cgq.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * *  Author:陈国强
 * *  Description:
 * *  Date:2023/2/14 19:52
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Phone {

    private Integer id;

    private String name;

    private Integer number;

    private BigDecimal price;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date ctime;
}
